package com.imooc.enums;

/**
 * 是否 枚举
 * @Author: 顾志杰
 * @Date: 2019/11/14
 * @Time: 16:02
 */
public enum YesOrNo {

    NO(0,"否"),
    YES(1,"是");

    public final Integer type;

    public final String value;

    YesOrNo(Integer type, String value) {
        this.type = type;
        this.value = value;
    }}
